package com.qianqian.service.mapper;

import com.qianqian.service.model.CapitalAccount;
import com.qianqian.service.model.CapitalAccountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CapitalAccountMapper {
    long countByExample(CapitalAccountExample example);

    int deleteByExample(CapitalAccountExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CapitalAccount record);

    int insertSelective(CapitalAccount record);

    List<CapitalAccount> selectByExample(CapitalAccountExample example);

    CapitalAccount selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CapitalAccount record, @Param("example") CapitalAccountExample example);

    int updateByExample(@Param("record") CapitalAccount record, @Param("example") CapitalAccountExample example);

    int updateByPrimaryKeySelective(CapitalAccount record);

    int updateByPrimaryKey(CapitalAccount record);

    //自定义
    CapitalAccount selectByUserId(String userId);

    int updateResultChipByUserId(CapitalAccount record);
}